import request from '@/utils/request'

// 查询居民学历统计列表
export function listReseducation(query) {
  return request({
    url: '/reseducation/reseducation/list',
    method: 'get',
    params: query
  })
}

// 查询居民学历统计详细
export function getReseducation(tagId) {
  return request({
    url: '/reseducation/reseducation/' + tagId,
    method: 'get'
  })
}

// 新增居民学历统计
export function addReseducation(data) {
  return request({
    url: '/reseducation/reseducation',
    method: 'post',
    data: data
  })
}

// 修改居民学历统计
export function updateReseducation(data) {
  return request({
    url: '/reseducation/reseducation',
    method: 'put',
    data: data
  })
}

// 删除居民学历统计
export function delReseducation(tagId) {
  return request({
    url: '/reseducation/reseducation/' + tagId,
    method: 'delete'
  })
}
